﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
namespace BLL
{
    public class TaiKhoanBLL
    {
        TaiKhoanDAL tk = new TaiKhoanDAL();
        public List<TAIKHOAN> LayDSTaiKhoan()
        {

            return tk.LayDSTaiKhoan();
        }
        public List<TAIKHOAN> LayDSTaiKhoan(string tenDN)
        {
            return tk.LayDSTaiKhoan(tenDN);
        }
        public bool ThemTaiKhoan(TAIKHOAN s)
        {
            return tk.ThemTaiKhoan(s);
        }
        public bool SuaTaiKhoan(TAIKHOAN s)
        {

            return tk.SuaTaiKhoan(s);
        }
        public bool xoaTaiKhoan(int TaiKhoanID)
        {
                return tk.xoaTaiKhoan(TaiKhoanID);
        }
        public bool kiemTraDN(TAIKHOAN t)
        {
            return tk.kiemTraDN(t);
        }
    }
}
